package com.itheima.health.dao;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @autahor: csl
 * @date: 2019/7/18
 * @description: 套餐持久层
 * @version:1.0
 */
public interface SetmealDao {
    void add(Setmeal setmeal);
    void addSetmealAnd(Map map);
    Page<Setmeal> findPage(@Param("queryString") String queryString);

    List<Setmeal> findAll();

    Setmeal findSetmealById(@Param("id") Integer id);
}
